"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
// 采购列表数据
var purchaseList = (0, vue_1.ref)([
    {
        purchaseDate: '2017.07.22',
        purchaseNo: '127878478237487',
        vendorName: '一平云端',
        purchaseBrand: '香奈儿',
        operator: '张三',
        purchaseQuantity: '79000'
    },
    {
        purchaseDate: '2017.07.22',
        purchaseNo: '127878478237487',
        vendorName: '一平云端',
        purchaseBrand: '香奈儿',
        operator: '李四',
        purchaseQuantity: '79000'
    },
    {
        purchaseDate: '2017.07.22',
        purchaseNo: '127878478237487',
        vendorName: '一平云端',
        purchaseBrand: '香奈儿',
        operator: '张武',
        purchaseQuantity: '100'
    },
    {
        purchaseDate: '2017.07.22',
        purchaseNo: '127878478237487',
        vendorName: '一平云端',
        purchaseBrand: '香奈儿',
        operator: '牛柳',
        purchaseQuantity: '100'
    }
]);
// 分页参数
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(10);
var jumpPage = (0, vue_1.ref)('');
// 分页方法
var handleCurrentChange = function (val) {
    currentPage.value = val;
    console.log('当前页：', val);
};
var handleSizeChange = function (val) {
    pageSize.value = val;
    console.log('每页条数：', val);
};
// 返回操作
var handleReturn = function () {
    console.log('返回');
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['el-button--primary']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "factory-purchase-list-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)(__assign({ class: "page-title" }));
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign(__assign({ 'onClick': {} }, { type: "text" }), { class: "return-btn" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "text" }), { class: "return-btn" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleReturn) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleReturn,];
var __VLS_3;
var __VLS_8 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign({ data: (__VLS_ctx.purchaseList), border: true }, { style: {} })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.purchaseList), border: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_9), false));
var __VLS_12 = __VLS_11.slots.default;
// @ts-ignore
[purchaseList,];
var __VLS_13 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
    prop: "purchaseDate",
    label: "采购日期",
    sortable: true,
}));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([{
        prop: "purchaseDate",
        label: "采购日期",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_14), false));
var __VLS_18 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
    prop: "purchaseNo",
    label: "采购单号",
    sortable: true,
}));
var __VLS_20 = __VLS_19.apply(void 0, __spreadArray([{
        prop: "purchaseNo",
        label: "采购单号",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_19), false));
var __VLS_23 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23({
    prop: "vendorName",
    label: "厂商名称",
    sortable: true,
}));
var __VLS_25 = __VLS_24.apply(void 0, __spreadArray([{
        prop: "vendorName",
        label: "厂商名称",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_24), false));
var __VLS_28 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_29 = __VLS_asFunctionalComponent(__VLS_28, new __VLS_28({
    prop: "purchaseBrand",
    label: "采购品牌",
    sortable: true,
}));
var __VLS_30 = __VLS_29.apply(void 0, __spreadArray([{
        prop: "purchaseBrand",
        label: "采购品牌",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_29), false));
var __VLS_33 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_34 = __VLS_asFunctionalComponent(__VLS_33, new __VLS_33({
    prop: "operator",
    label: "经办人",
    sortable: true,
}));
var __VLS_35 = __VLS_34.apply(void 0, __spreadArray([{
        prop: "operator",
        label: "经办人",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_34), false));
var __VLS_38 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_39 = __VLS_asFunctionalComponent(__VLS_38, new __VLS_38({
    prop: "purchaseQuantity",
    label: "采购数量",
    sortable: true,
}));
var __VLS_40 = __VLS_39.apply(void 0, __spreadArray([{
        prop: "purchaseQuantity",
        label: "采购数量",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_39), false));
var __VLS_43 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_44 = __VLS_asFunctionalComponent(__VLS_43, new __VLS_43({
    label: "操作",
}));
var __VLS_45 = __VLS_44.apply(void 0, __spreadArray([{
        label: "操作",
    }], __VLS_functionalComponentArgsRest(__VLS_44), false));
var __VLS_47 = __VLS_46.slots.default;
{
    var __VLS_48 = __VLS_46.slots.default;
    var __VLS_49 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49(__assign({ type: "primary" }, { style: {} })));
    var __VLS_51 = __VLS_50.apply(void 0, __spreadArray([__assign({ type: "primary" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_50), false));
    var __VLS_53 = __VLS_52.slots.default;
    var __VLS_52;
}
var __VLS_46;
var __VLS_11;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination-area" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "total-info" }));
(__VLS_ctx.purchaseList.length);
// @ts-ignore
[purchaseList,];
var __VLS_54 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54(__assign(__assign({ 'onCurrentChange': {} }, { 'onSizeChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSizes: ([10, 20, 30]), pageSize: (__VLS_ctx.pageSize), layout: "prev, pager, next", total: (__VLS_ctx.purchaseList.length) })));
var __VLS_56 = __VLS_55.apply(void 0, __spreadArray([__assign(__assign({ 'onCurrentChange': {} }, { 'onSizeChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSizes: ([10, 20, 30]), pageSize: (__VLS_ctx.pageSize), layout: "prev, pager, next", total: (__VLS_ctx.purchaseList.length) })], __VLS_functionalComponentArgsRest(__VLS_55), false));
var __VLS_58;
var __VLS_59;
var __VLS_60 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
var __VLS_61 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
// @ts-ignore
[purchaseList, currentPage, pageSize, handleCurrentChange, handleSizeChange,];
var __VLS_57;
var __VLS_63 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_64 = __VLS_asFunctionalComponent(__VLS_63, new __VLS_63(__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.pageSize), placeholder: "条数/页" }), { style: {} })));
var __VLS_65 = __VLS_64.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.pageSize), placeholder: "条数/页" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_64), false));
var __VLS_67;
var __VLS_68;
var __VLS_69 = ({ change: {} },
    { onChange: (__VLS_ctx.handleSizeChange) });
var __VLS_70 = __VLS_66.slots.default;
// @ts-ignore
[pageSize, handleSizeChange,];
var __VLS_71 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_72 = __VLS_asFunctionalComponent(__VLS_71, new __VLS_71({
    label: "10条/页",
    value: "10",
}));
var __VLS_73 = __VLS_72.apply(void 0, __spreadArray([{
        label: "10条/页",
        value: "10",
    }], __VLS_functionalComponentArgsRest(__VLS_72), false));
var __VLS_76 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_77 = __VLS_asFunctionalComponent(__VLS_76, new __VLS_76({
    label: "20条/页",
    value: "20",
}));
var __VLS_78 = __VLS_77.apply(void 0, __spreadArray([{
        label: "20条/页",
        value: "20",
    }], __VLS_functionalComponentArgsRest(__VLS_77), false));
var __VLS_81 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_82 = __VLS_asFunctionalComponent(__VLS_81, new __VLS_81({
    label: "30条/页",
    value: "30",
}));
var __VLS_83 = __VLS_82.apply(void 0, __spreadArray([{
        label: "30条/页",
        value: "30",
    }], __VLS_functionalComponentArgsRest(__VLS_82), false));
var __VLS_66;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_86 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_87 = __VLS_asFunctionalComponent(__VLS_86, new __VLS_86(__assign({ modelValue: (__VLS_ctx.jumpPage), type: "number" }, { style: {} })));
var __VLS_88 = __VLS_87.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.jumpPage), type: "number" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_87), false));
// @ts-ignore
[jumpPage,];
var __VLS_91 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_92 = __VLS_asFunctionalComponent(__VLS_91, new __VLS_91(__assign({ type: "primary" }, { style: {} })));
var __VLS_93 = __VLS_92.apply(void 0, __spreadArray([__assign({ type: "primary" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_92), false));
var __VLS_95 = __VLS_94.slots.default;
var __VLS_94;
/** @type {__VLS_StyleScopedClasses['factory-purchase-list-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['return-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination-area']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
